﻿<controls:ChildWindow
           xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
           xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
           xmlns:controls="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls"
           xmlns:sdk="http://schemas.microsoft.com/winfx/2006/xaml/presentation/sdk" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="d" x:Class="SkyDriveConnector.CreateFolderWindow"
           Width="400" Height="300" 
           Title="CreateFolderWindow"
            Closing="ChildWindow_Closing">
    <Grid x:Name="LayoutRoot" Margin="2">
    	<Grid.ColumnDefinitions>
    		<ColumnDefinition Width="0.26*"/>
    		<ColumnDefinition Width="0.74*"/>
    	</Grid.ColumnDefinitions>
        <Grid.RowDefinitions>
        	<RowDefinition Height="0.517*" />
        	<RowDefinition Height="0.483*"/>
        	<RowDefinition Height="Auto" />
        </Grid.RowDefinitions>

    	<sdk:Label HorizontalAlignment="Center" VerticalAlignment="Center" HorizontalContentAlignment="Left" Content="Folder Name"/>
    	<TextBox x:Name="txtFolderDescription" TextWrapping="Wrap" Margin="0" Grid.Column="1" Grid.Row="1" d:LayoutOverrides="Height" VerticalAlignment="Center" TabIndex="1"/>
        <sdk:Label HorizontalContentAlignment="Left" Content="Description" Margin="8,41,9,52" Grid.Row="1" d:LayoutOverrides="Width, Height" HorizontalAlignment="Center" VerticalAlignment="Center"/>
    	<TextBox x:Name="txtFolderName" TextWrapping="Wrap" VerticalAlignment="Center" Margin="0" Grid.Column="1" TabIndex="1"/>

        <Button x:Name="CancelButton" Content="Cancel" Click="CancelButton_Click" Width="75" Height="23" HorizontalAlignment="Right" Margin="0,12,0,0" Grid.Row="2" Grid.Column="1" />
        <Button x:Name="OKButton" Content="OK" Click="OKButton_Click" Height="23" Margin="137,12,79,0" Grid.Row="2" Grid.Column="1" />
        <sdk:Label Grid.Column="1" HorizontalAlignment="Left" Margin="0,0,0,30" VerticalAlignment="Bottom" Content="Required" Foreground="#FFD85232"/>
        <sdk:Label Grid.Column="1" HorizontalAlignment="Left" Margin="0,0,0,26" Grid.Row="1" VerticalAlignment="Bottom" Content="Optional"/>
    </Grid>
</controls:ChildWindow>